import Vue from 'vue'
import App from './App.vue'
import router from './router'
import request from './common/request.js'
import store from './store'
import '@vant/touch-emulator';
import '@/vant/index'

Vue.config.productionTip = false
Vue.prototype.$request = request.httpRequest


import 'amfe-flexible'



// 全局过滤器
Vue.filter("numFilter", function (value, num) {
  return (value / 10000).toFixed(num)
})
// 4. 创建和挂载根实例。
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


